<?php
// Application Configuration
define("DEFAULT_LANGUAGE","fr");
// Default Settings
define("DEV_ENV", true);
define("CACHE_MENU", false);
define("CACHE_PAGE", false);
define("CACHE", true);
define("SESSION_NAME","orinea-group");
// Database Connections
Fox\Databases::databases()->register(Fox\Databases::DB_FOX, array(
	Fox\Databases::PARAM_DRIVER   => 'pdo_mysql',
	Fox\Databases::PARAM_DB       => 'fox_core_utf8',
	Fox\Databases::PARAM_HOST     => '127.0.0.1',
	Fox\Databases::PARAM_SEKEY     => '707A39697151636C4D53576341475379476D626A5A514E3D6D7273343378777173363537'
),array(Fox\Databases::PARAM_USER, Fox\Databases::PARAM_PASSWORD));
Fox\Databases::databases()->register(Fox\Databases::DB_APP, array(
	Fox\Databases::PARAM_DRIVER   => 'pdo_mysql',
	Fox\Databases::PARAM_DB       => 'fox_core_utf8',
	Fox\Databases::PARAM_HOST     => '127.0.0.1',
	Fox\Databases::PARAM_SEKEY     => '707A39697151636C4D53576341475379476D626A5A514E3D6D7273343378777173363537'
),array(Fox\Databases::PARAM_USER, Fox\Databases::PARAM_PASSWORD));
// Shama - CRM : Create a new Contact
Fox\Services::instance()->register('shama-contact',array(
	Fox\Services::PARAM_HOST => "http://127.0.0.1/Shama%20-%20Crm/?mod=contacts&act=contact&ws=true&xvtrs=none",
	Fox\Services::PARAM_CLIENT => Fox\Services\Client\Rest::className(),
	Fox\Services::PARAM_USER => 'xvilain@orinea.com',
	Fox\Services::PARAM_ACTION => 'POST',
	Fox\Services::PARAM_PASSWORD => 'xavvil02',
));